package com.bangdream.michelia.contract;

import com.bangdream.michelia.entity.TaskCurriculumBean;
import com.bangdream.michelia.entity.TrainPlanBean;
import com.bangdream.michelia.entity.TrainPlanDetail;
import com.bangdream.michelia.entity.courses.CoursesBean;

import java.util.List;
import java.util.Map;

import io.reactivex.Observable;

/**
 * Created by Mr.Wang on 2018/3/30.
 * 909732184@qq.com
 * 培训计划
 */

public class TrainPlanContract {
    public interface ITrainPlanView {
        //设置课程列表
        void setTrainPlanList(boolean isSuccess, int page, List<TrainPlanBean> data, String stDescribe);
        //设置课程详情
        void setTrainPlanDetails(boolean isSuccess, TrainPlanDetail data);

        void setTaskCurriculumList(boolean isSuccess, int page, List<TaskCurriculumBean> data,String des);
    }
    public interface ITrainPlanModel {
        Observable getTrainPlanList(Map<Object, Object> paramsMap);
        Observable getTrainPlanDetails(Map<Object, Object> paramsMap);
        Observable getTaskCurriculumList(Map<Object, Object> paramsMap);

    }
}
